package com.google.android.gms.internal;

import java.io.IOException;

public final class zzjw extends zzflm<zzjw> {
    private static volatile zzjw[] zzbfy;
    private zzka zzbfz = null;
    private zzkc zzbga = null;
    private zzkd zzbgb = null;
    private zzke zzbgc = null;
    private zzjx zzbgd = null;
    private zzkb zzbge = null;
    private zzjz zzbgf = null;
    private Integer zzbgg = null;
    private Integer zzbgh = null;
    private zzju zzbgi = null;
    private Integer zzbgj = null;
    private Integer zzbgk = null;
    private Integer zzbgl = null;
    private Integer zzbgm = null;
    private Integer zzbgn = null;

    public zzjw() {
        this.zzpvl = null;
        this.zzpnr = -1;
    }

    public static zzjw[] zzhy() {
        if (zzbfy == null) {
            synchronized (zzflq.zzpvt) {
                if (zzbfy == null) {
                    zzbfy = new zzjw[0];
                }
            }
        }
        return zzbfy;
    }

    public final /* synthetic */ zzfls zza(zzflj zzflj) throws IOException {
        zzfls zzfls;
        while (true) {
            int zzcxx = zzflj.zzcxx();
            switch (zzcxx) {
                case 0:
                    return this;
                case 42:
                    if (this.zzbfz == null) {
                        this.zzbfz = new zzka();
                    }
                    zzfls = this.zzbfz;
                    break;
                case 50:
                    if (this.zzbga == null) {
                        this.zzbga = new zzkc();
                    }
                    zzfls = this.zzbga;
                    break;
                case 58:
                    if (this.zzbgb == null) {
                        this.zzbgb = new zzkd();
                    }
                    zzfls = this.zzbgb;
                    break;
                case 66:
                    if (this.zzbgc == null) {
                        this.zzbgc = new zzke();
                    }
                    zzfls = this.zzbgc;
                    break;
                case 74:
                    if (this.zzbgd == null) {
                        this.zzbgd = new zzjx();
                    }
                    zzfls = this.zzbgd;
                    break;
                case 82:
                    if (this.zzbge == null) {
                        this.zzbge = new zzkb();
                    }
                    zzfls = this.zzbge;
                    break;
                case 90:
                    if (this.zzbgf == null) {
                        this.zzbgf = new zzjz();
                    }
                    zzfls = this.zzbgf;
                    break;
                case 96:
                    this.zzbgg = Integer.valueOf(zzflj.zzcym());
                    continue;
                case 104:
                    this.zzbgh = Integer.valueOf(zzflj.zzcym());
                    continue;
                case 114:
                    if (this.zzbgi == null) {
                        this.zzbgi = new zzju();
                    }
                    zzfls = this.zzbgi;
                    break;
                case 120:
                    this.zzbgj = Integer.valueOf(zzflj.zzcym());
                    continue;
                case 128:
                    this.zzbgk = Integer.valueOf(zzflj.zzcym());
                    continue;
                case 136:
                    this.zzbgl = Integer.valueOf(zzflj.zzcym());
                    continue;
                case 144:
                    this.zzbgm = Integer.valueOf(zzflj.zzcym());
                    continue;
                case 152:
                    this.zzbgn = Integer.valueOf(zzflj.zzcym());
                    continue;
                default:
                    if (!super.zza(zzflj, zzcxx)) {
                        return this;
                    }
                    continue;
            }
            zzflj.zza(zzfls);
        }
    }

    public final void zza(zzflk zzflk) throws IOException {
        if (this.zzbfz != null) {
            zzflk.zza(5, (zzfls) this.zzbfz);
        }
        if (this.zzbga != null) {
            zzflk.zza(6, (zzfls) this.zzbga);
        }
        if (this.zzbgb != null) {
            zzflk.zza(7, (zzfls) this.zzbgb);
        }
        if (this.zzbgc != null) {
            zzflk.zza(8, (zzfls) this.zzbgc);
        }
        if (this.zzbgd != null) {
            zzflk.zza(9, (zzfls) this.zzbgd);
        }
        if (this.zzbge != null) {
            zzflk.zza(10, (zzfls) this.zzbge);
        }
        if (this.zzbgf != null) {
            zzflk.zza(11, (zzfls) this.zzbgf);
        }
        if (this.zzbgg != null) {
            zzflk.zzad(12, this.zzbgg.intValue());
        }
        if (this.zzbgh != null) {
            zzflk.zzad(13, this.zzbgh.intValue());
        }
        if (this.zzbgi != null) {
            zzflk.zza(14, (zzfls) this.zzbgi);
        }
        if (this.zzbgj != null) {
            zzflk.zzad(15, this.zzbgj.intValue());
        }
        if (this.zzbgk != null) {
            zzflk.zzad(16, this.zzbgk.intValue());
        }
        if (this.zzbgl != null) {
            zzflk.zzad(17, this.zzbgl.intValue());
        }
        if (this.zzbgm != null) {
            zzflk.zzad(18, this.zzbgm.intValue());
        }
        if (this.zzbgn != null) {
            zzflk.zzad(19, this.zzbgn.intValue());
        }
        super.zza(zzflk);
    }

    /* access modifiers changed from: protected */
    public final int zzq() {
        int zzq = super.zzq();
        if (this.zzbfz != null) {
            zzq += zzflk.zzb(5, (zzfls) this.zzbfz);
        }
        if (this.zzbga != null) {
            zzq += zzflk.zzb(6, (zzfls) this.zzbga);
        }
        if (this.zzbgb != null) {
            zzq += zzflk.zzb(7, (zzfls) this.zzbgb);
        }
        if (this.zzbgc != null) {
            zzq += zzflk.zzb(8, (zzfls) this.zzbgc);
        }
        if (this.zzbgd != null) {
            zzq += zzflk.zzb(9, (zzfls) this.zzbgd);
        }
        if (this.zzbge != null) {
            zzq += zzflk.zzb(10, (zzfls) this.zzbge);
        }
        if (this.zzbgf != null) {
            zzq += zzflk.zzb(11, (zzfls) this.zzbgf);
        }
        if (this.zzbgg != null) {
            zzq += zzflk.zzag(12, this.zzbgg.intValue());
        }
        if (this.zzbgh != null) {
            zzq += zzflk.zzag(13, this.zzbgh.intValue());
        }
        if (this.zzbgi != null) {
            zzq += zzflk.zzb(14, (zzfls) this.zzbgi);
        }
        if (this.zzbgj != null) {
            zzq += zzflk.zzag(15, this.zzbgj.intValue());
        }
        if (this.zzbgk != null) {
            zzq += zzflk.zzag(16, this.zzbgk.intValue());
        }
        if (this.zzbgl != null) {
            zzq += zzflk.zzag(17, this.zzbgl.intValue());
        }
        if (this.zzbgm != null) {
            zzq += zzflk.zzag(18, this.zzbgm.intValue());
        }
        return this.zzbgn != null ? zzq + zzflk.zzag(19, this.zzbgn.intValue()) : zzq;
    }
}
